<!doctype html>
<html lang="en">
	<head>
	<meta charset="utf-8"/>
		<title>Common Nutrition Myths</title>
		<link href="styles/styles.css" rel="stylesheet" type="text/css"/>
		<script src="scripts/scripts.js" language="javascript"></script>
		<script src="scripts/draganddrop.js" language="javascript"></script>
	</head>
	<body id="bodynutrition" onload="javascript:visitNutritionMyths()">
	
		<nav>
			<div id="drop" align="center">
				<ul>
					<li id="option0"><a href="intro.html">Intro Page</a></li>
					<li id="option1"><a href="profile.html">Profile Page</a></li>
					<li id="option2"><a href="#">Nutrition</a>
						<ul id="option2">
							<li><a href="nutrition-myths.html">Myths of Nutrition</a></li>
							<li><a href="nutrition1.html">Nutrition 101</a></li>
							<li><a href="nutrition2.html">Nutrition 201</a></li>
						</ul>
					</li>
					<li id="option3"><a href="#">Exercise</a>
						<ul id="option3">
							<li><a href="exercise-myths.html">Myths of Exercise</a></li>
							<li><a href="targetheartrate.html">Target Heart Rate</a></li>
							<li><a href="exercise1.html">Exercise 101</a></li> 
						</ul>
					</li>
					<li id="option4"><a href="#">Massage</a>
						<ul id="option4">
							<li><a href="massage-myths.html">Myths of Massage</a></li> 
							<li><a href="massage1.html">Massage 101</a></li> 
							<li><a href="massage2.html">Personalizing Your Massage</a></li> 
						</ul>
					</li>
					<li id="optionX"><a href="assessment.html" id="assessmentlink" class="hide">Final Assessment</a>
					</li>
				</ul>
			</div>
		</nav>
	
		<header>
			<div align="center"><h1>Nutrition Myths</h1>
		</header>
		
        <div id="spacing">
			<p><em>
				Test your knowledge about nutrition by matching the nutrition myth with its fact. Read a myth and then the facts. 
				Select the myth and drag it over the fact you believe it matches.  Continue this same process until all myths have been matched to their factual counterparts. 
				Click on 'Submit Your Answers' to get your results. 
				Discover more about nutrition by selecting Nutrition 101 from the Nutrition menu.
			</em></p>
		</div>
		
		<form name="dd1" onsubmit="javascript:processForm(); return false;">  
			<div align="center">
			<div class="column">
				<h3>Myths</h3>
			 	<div id="d1" value="3" class="dragger" draggable="true"
		     		ondragstart="return startDrag( event )"
		     		ondragend="return endDrag( event )"><p>Foods without sugar taste bad.</p></div><br/>  
		     	<div id="d2" value="2" class="dragger" draggable="true"
		     		ondragstart="return startDrag( event )"
		     		ondragend="return endDrag( event )"><p>Changing eating habits is too difficult.</p></div><br/>                        
		 		<div id="d3" value="0" class="dragger" draggable="true"
		     		ondragstart="return startDrag( event )"
		     		ondragend="return endDrag( event )"><p>It does not matter what foods I eat together.</p></div><br/>  
			 	<div id="d4" value="1" class="dragger" draggable="true"
		     		ondragstart="return startDrag( event )"
		     		ondragend="return endDrag( event )"><p>Consuming beverages that contain water is the same as consuming water.</p></div><br/>  
			</div>
				<br/>
			<div class="column">
				<h3>Facts</h3>
		     	<div id="db1" value="0" class="draggerbay" 
		     		ondrop="return dropDragger( event )"
		     		ondragover="return false"
		     		ondragenter="return enterDragger( event )"><p>Eating correct food combinations results in better digestion and elimination</p></div><br/>                        
		 		<div id="db2" value="1" class="draggerbay"
		     		ondrop="return dropDragger( event )"
		     		ondragover="return false"
		     		ondragenter="return enterDragger( event )"><p>Consume half your weight in ounces of pure filtered water for daily detox.</p></div><br/>  
			 	<div id="db3" value="2" class="draggerbay"
		     		ondrop="return dropDragger( event )"
		     		ondragover="return false"
		     		ondragenter="return enterDragger( event )"><p>It is only a matter of planning ahead and a gradual change in eating habits.</p></div><br/> 
			 	<div id="db4" value="3" class="draggerbay"
		     		ondrop="return dropDragger( event )"
		     		ondragover="return false"
		     		ondragenter="return enterDragger( event )"><p>Foods taste better once the body is cleansed.</p></div><br/>  
			</div>
				<p id="response">&nbsp;</p>
				<input type="submit" name="button" value="Submit Your Answer"/>
			</form>
        </section>
        </article>
        
    	<footer>
    		<div align="center"><br/>
    			<audio controls="controls" autoplay="autoplay">
  					<source src="audio/nutritionmyths.ogg" type="audio/ogg"/>
 		 			<source src="audio/nutritionmyths.mp3" type="audio/mpeg"/>
				</audio>
    		</div>
        </footer>
        
	</body>
</html>